package com.jybd.live.service;

import com.jybd.live.model.Record;

/**
 * 阿里服务Service
 */
public interface AliLiveService {
    /**
     * 设置阿里直播录制成功回调
     */
    boolean addLiveRecordNotification();

    /**
     * 停止阿里直播录制回调
     */
    boolean deleteLiveRecordNotification();

    /**
     * 获取阿里直播录制视频url
     * @param path
     * @return
     */
    String getLiveRecordURL(String path);

    /**
     * 插入Record信息
     * @param record
     * @return
     */
    boolean insertRecord(Record record);
}
